package org.dromara.wyl.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.wyl.domain.NppDatasetPrediction;

/**
 * 【请填写功能名称】业务对象 npp_dataset_prediction
 *
 * @author Lion Li
 * @date 2023-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NppDatasetPrediction.class, reverseConvertGenerate = false)
public class NppDatasetPredictionBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     *数据集id
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private String dataId;

    /**
     * 模拟器（功率）
     */
    @NotBlank(message = "模拟器（功率）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String simulatorPower;

    /**
     * 回路（测点数）
     */
    @NotBlank(message = "回路（测点数）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String circuitMeasurement;

    /**
     * 重要测点数量，特征选择
     */
    @NotNull(message = "重要测点数量，特征选择不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long impMeasurement;

    /**
     * 数据类型
     */
    @NotBlank(message = "数据类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String datasetType;

    /**
     * 状态
     */
    @NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String state;


}
